-- GENERATED SPELL FOR [Seeker Cromwell] --


function spell0_14402(pUnit, Event) --@Hooked Net,n/a--
pUnit:FullCastSpellOnTarget(14030,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14402', 6500, 1)
end

function spell1_14402(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(15572,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14402', 30323, 1)
end

function Sorts_14402(pUnit, Event)
local choix_sorts_14402 = math.random(0, 1)
if choix_sorts_14402 == 0 then
pUnit:RegisterEvent('spell0_14402', 1, 1)
end
if choix_sorts_14402 == 1 then
pUnit:RegisterEvent('spell1_14402', 1, 1)
end
end

function mob14402_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14402', math.random(1500, 3000), 1)
end

function mob14402_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14402_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14402_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14402, 1, 'mob14402_Action')
RegisterUnitEvent(14402, 2, 'mob14402_Leave')
RegisterUnitEvent(14402, 3, 'mob14402_Kill')
RegisterUnitEvent(14402, 4, 'mob14402_Die')
